<?
/**
 * <b>DateType Class</b>
 * Published 04/11/2010 19:01:06
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');

class DateType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var int $Day
	public $Day;
	// @var int $Month
	public $Month;
	// @var int $Year
	public $Year;
 /** End Properties **/

/**
 *
 * @return int
 */
	function getDay(){
		return $this->Day;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDay($value){
		$this->Day = $value;
	}


/**
 *
 * @return int
 */
	function getMonth(){
		return $this->Month;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMonth($value){
		$this->Month = $value;
	}


/**
 *
 * @return int
 */
	function getYear(){
		return $this->Year;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setYear($value){
		$this->Year = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("DateType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"Day"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Month"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Year"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
